﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

namespace ProjectSem40701.Admin
{
    public partial class TryCrR : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            ProjectSem40701.Admin.AdminXSD.RoleTableAdapters.aspnet_UsersInRolesTableAdapter adp = new ProjectSem40701.Admin.AdminXSD.RoleTableAdapters.aspnet_UsersInRolesTableAdapter();
            ProjectSem40701.Admin.AdminXSD.Role.aspnet_UsersInRolesDataTable tbl = adp.Get_UserInRole_Select_All();


            CrystalReport1 rd = new CrystalReport1();
            rd.SetDataSource((DataTable)tbl);

            CrystalReportViewer1.ReportSource = rd;
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            
        }
    }
}
